﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Export.Ui.ViewModel
{
    using DatabaseCore;
    using FirstFloor.ModernUI.Presentation;
    using FirstFloor.ModernUI.Windows.Controls;
    using GalaSoft.MvvmLight;
    public class HomeViewModel
    {
        private MainWindowViewModel _mainWindowViewModel;

        public HomeViewModel(MainWindowViewModel mainWindowviewModel)
        {
            mainWindowviewModel = _mainWindowViewModel;
            LoginCommand = new RelayCommand(show);
        }

        public RelayCommand LoginCommand { get; private set; }

        private void show(object parameter)
        {
            var dialog = new ModernDialog
            {
                Title = "Common Dialog",
                Content = new Pages.Settings()
            };
            dialog.ShowDialog();
        }
    }
}
